function Bubble(right) {
	this.direction = right ? 'left' : 'right';
	this.container = $('<div></div>');
	this.container.addClass('text-bubble-'+this.direction);
}
Bubble.prototype.setText = function(text) {
	if (!this.content) {
		this.content = $('<div></div>');
		this.content.addClass('bubble-text');
		this.container.append(this.content);
	}
	this.content.text(text);
};

Bubble.prototype.addChoice = function(text, value) {
	var choice = $('<button type="button">'+text+'</button>');
	this.container.append(choice);
};
